Release 10.1A: OpenEdge Development:
Messaging and ESB


Receiving a reply

The following general steps outline how a 4GL application receives a reply:

  1. The application calls the requestReply procedure in the Session object with the message handle, the name of a destination (a queue name for PTP), and the Message Consumer handle as input parameters.
  2. The application executes a WAIT–FOR statement (or a waitForMessages procedure call), which waits for the replies to arrive while processing other 4GL events.
  3. The Message Consumer object handles the replies.
  4. The application deletes the replies after it finishes using them.

Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095